package com.awanp3.nimbus.common.banner.config;

import com.awanp3.nimbus.common.banner.runner.BannerApplicationRunner;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * banner 自动配置类
 *
 * @author 20014170
 */
@AutoConfiguration
public class BannerAutoConfiguration {

    /**
     * @return banner 打印器
     */
    @Bean
    public BannerApplicationRunner bannerApplicationRunner() {
        return new BannerApplicationRunner();
    }

}
